<ion-header >
  <div class="i_header">
   <p class="header_title"> <ion-title>主页</ion-title></p>
    <a class="item item-thumbnail-left" href="#">
      <img src="../../assets/img/homeImg/personInfo.png">
      <p>上午好!</p>
      <p><span class="header_icon"><ion-icon  ios="ios-person" md="md-person" ></ion-icon></span>{{pInfo.name}}</p>
			<p><span class="header_icon"><ion-icon ios="ios-notifications" md="md-notifications"></ion-icon></span>{{pInfo.mobile}}</p>	
    </a>
  </div>
  
</ion-header>

<ion-content padding>
  <!--  //下拉刷新-->
    <ion-refresher (ionRefresh)="doRefresh($event)">
            <ion-refresher-content
                  pullingIcon="arrow-dropdown"
                 pullingText="刷新中.."
                  refreshingSpinner="circles"
                  refreshingText="刷新中..">
          </ion-refresher-content>
    </ion-refresher>
    

  <div class="scroll-cont">
  	<p class="scroll_cont_header">当前库存</p>

  </div>
  
<!--一期没有详情页(click)="goProductInfo()"-->

<div class="list" *ngFor="let item of items">
    <a class="item item-thumbnail-left" href="#">
      <img [src]="item.productImg">
      <p>{{item.productName}}</p>
      <p>库存: <span>{{item.stock}}</span>箱</p>
			<p>公司: <span id="bizCompanyName">{{item.bizCompanyName}}</span></p>	
    </a>
</div>
    <!--下拉加载-->
    <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
        <ion-infinite-scroll-content
                loadingSpinner="bubbles"
                loadingText="加载中...">
        </ion-infinite-scroll-content>
    </ion-infinite-scroll>


 <!--   <ion-list>
        <ion-item *ngFor="let i of items">{{i}}</ion-item>
    </ion-list>

    <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
        <ion-infinite-scroll-content
                loadingSpinner="bubbles"
                loadingText="Loading more data...">
        </ion-infinite-scroll-content>
    </ion-infinite-scroll>-->
<!--<p *ngFor="let item of items" >{{item.id}}---{{item.bizCompanyName}}---{{item.productName}}

	<img [src]="item.productImg"/>{{item.stock}}
</p>
//页面测试
-->

</ion-content>
